<?php
$html = $this->getChildHtml();
?>
<?php if ($this->countChildren() > 0 && $html != ''): ?>
<div class="slideshow-tabs-container ">
	<div class="slideshow-tabs">
		<a class="backward">prev</a> <a class="forward">next</a>
		<?php echo $this->getChildHtml();?>
	</div>
</div>
<?php endif ?>

<script type="text/javascript">
$
jQuery(".tab_slideshow").tabs(".images > div.sub", {
	effect: 'fade',
	fadeOutSpeed: "slow",
	rotate: true
}).slideshow();
</script>